import request from "@/utils/request";
// 获取品牌数据
export function homeBrand(limit = 9) {
  return request({
    url: "/home/brand",
    params: {
      limit,
    },
  });
}

// 首页轮播图
export function homeBanner() {
  return request({
    url: "/home/banner",
  });
}

// 首页-新鲜好物
export const findNew = () => {
  return request({
    url: "home/new",
    method: "get",
  });
};

// 首页-人气推荐
export const findHot = () => {
  return request({
    url: "home/hot",
    method: "get",
  });
};
